/*scores_in.c -- 使用循环遍历数组*/

#include "stdio.h"

#define SIZE 10

void arrSum();

int main(void){

    arrSum();

    return 0;
}

void arrSum(){
    int arrInt[SIZE] = {1,32,56,35,10};

    for(int i=0; i<SIZE;i++){
        if(i == 5){
            break;
        }
        printf("arrInt[%d]:%5d\n",i,arrInt[i]);
    }
}